#ifndef VERIFYCODE_H
#define VERIFYCODE_H
#include <QObject>
#include <QTimer>



class VerifyCode : public QObject
{
    Q_OBJECT

public:
    explicit VerifyCode(QObject *parent = nullptr);


    QString qverifycode;//验证码数值
    QTimer *timer;//记录验证码有效时间，到达五分钟后使其失效
    //bool valid=false;//记录验证码是否有效，无效时将验证码置为0



private slots:
    void slot_reset();
};

#endif // VERIFYCODE_H
